<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@ include file="/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>尝试梦想导航系统</title>
<link href="style/common.css" rel="stylesheet" type="text/css" />
<link href="style/mainframe.css" rel="stylesheet" type="text/css" />
<link href="style/displaytag.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h2>你所在位置 - > 网址管理 -> 编辑&新增</h2>
<div id="IndexWrap">
	<div class="mar5" style="width:80%;">
		<form action="updateSite.action" method="post">
		<table border="0" class="tab_th_left" width="65%">
			<tr>
				<th>ID</th>
				<td><input type="text" name="id" value="${site.id }" class="GrayBG" readonly /></td>
				<c:if test="${empty site.id}">
					<td><input type="text" name="id" class="InputImg" /></td>
				</c:if>
			</tr>
			<tr>
				<th>网站名称</th>
				<td><input type="text" name="name" value="${site.name }" class="InputImg" /></td>
				<c:if test="${empty site.name}">
					<td><input type="text" name="name" class="InputImg" /></td>
				</c:if>
			</tr>
			<tr>
				<th>URL</th>
				<td><input type="text" name="url" value="${site.url }" class="InputImg" /></td>
				<c:if test="${empty site.url}">
					<td><input type="text" name="url" class="InputImg" /></td>
				</c:if>
			</tr>
			<tr>
				<th>ALEXA</th>
				<td><input type="text" name="alexa" value="${site.alexa }" class="InputImg" /></td>
				<c:if test="${empty site.alexa}">
					<td><input type="text" name="alexa" class="InputImg" /></td>
				</c:if>
			</tr>
			<tr>
				<td colspan="2" style="text-align:center;">
					<input type="submit" name="submit" class="button_height20" onMouseOver="this.className='button_height20_over'" onMouseOut="this.className='button_height20'" value="提交" />&nbsp;&nbsp;
					<input type="submit" name="submit" class="button_height20" onMouseOver="this.className='button_height20_over'" onMouseOut="this.className='button_height20'" value="取消" />
				</td>
			</tr>
		</table>
		</form>
	</div>
</div>
</body>
</html>